package com.nanhai.buddhist.college.module.collegebase.controller.admin.teacherteachers.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.nanhai.buddhist.college.framework.excel.core.annotations.DictFormat;
import com.nanhai.buddhist.college.framework.excel.core.convert.DictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 教师管理 Excel VO
 *
 * @author AKai
 */
@Data
public class TeacherTeachersExcelVO {



    @ExcelProperty("学院")
    private String collegeName;


    @ExcelProperty("工号")
    private String jobNumber;

  //  @ExcelProperty("编号")
   // private String teacherNumber;

    @ExcelProperty("法名")
    private String legalName;

    @ExcelProperty("教师姓名")
    private String teacherName;


    @ExcelProperty(value = "教师性别",converter = TeacherSexConvert.class)
    private String teacherSex;

    @ExcelProperty("教师年龄")
    private String teacherAge;



   // @ExcelProperty(value = "修行类型", converter = DictConvert.class)
   // @DictFormat("student_monastical_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
   // private String practiceType;


    /**
     * 教师出生日期
     */
    @ExcelProperty("出生日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date teacherBirthday;

    @ExcelProperty(value = "职称（教授、副教授）", converter = DictConvert.class)
    @DictFormat("teacher_professor_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String post;

    @ExcelProperty(value = "聘用类型", converter = DictConvert.class)
    @DictFormat("teacher_recruit_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String employType;

    @ExcelProperty("聘用时间")
    @DateTimeFormat("yyyy-MM-dd")
    private Date employTime;

    @ExcelProperty("联系电话")
    private String teacherTelephone;


}
